<div class="dialog-body autoHeight print_outbound_receipt" style="margin: 0 auto;">

    <div class="print_outbound_receipt_title" style="margin-left: 15%">
        <div class="receipt_title_left" style="padding-top: 0px;">
            <!--<img src="images/login_logo.png"/>-->
            <img src="images/traum.png"/>
        </div>
        <div class="receipt_title_center">长沙君马汽车销售有限公司</div>
        <div class="receipt_title_right">
        </div>
    </div>
    <div class="print_outbound_receipt_top">
        <div class="receipt_top_title" style="width: 200px;">商品车交运（运输通知）单</div>
        <div class="receipt_top_bar_code">
            <img ng-src="data:image/png;base64,{{ngDialogData.receipt.image}}"/>
        </div>
        <div class="receipt_top_table">
            <table class="layui-table">
                <tbody>
                    <tr>
                        <td class="black_td">运单号</td>
                        <td ng-bind="ngDialogData.receipt.waybillNo"></td>
                        <td class="black_td">仓库</td>
                        <td ng-bind="ngDialogData.receipt.whName"></td>
                        <td class="black_td">装车道</td>
                        <td ng-bind="ngDialogData.receipt.estimateLane"></td>
                        <td class="black_td">运输期限</td>
                        <td ng-bind="ngDialogData.receipt.transportTime"></td>
                    </tr>
                    <tr>
                        <td class="black_td">收车地址</td>
                        <td colspan="3" ng-bind="ngDialogData.receipt.destAddress" class="tr_td"></td>
                        <td class="black_td">承运车牌</td>
                        <td ng-bind="ngDialogData.receipt.vehiclePlate"></td>
                        <td class="black_td">运输类型</td>
                        <td ng-bind="ngDialogData.receipt.type | shipmentPlanTypeFilter"></td>
                    </tr>
                    <tr>
                        <td class="black_td">联系人</td>
                        <td ng-bind="ngDialogData.receipt.logiPerson"></td>
                        <td class="black_td">联系电话</td>
                        <td ng-bind="ngDialogData.receipt.logiTel"></td>
                        <td class="black_td">承运司机</td>
                        <td ng-bind="ngDialogData.receipt.driver"></td>
                        <td class="black_td">联系电话</td>
                        <td ng-bind="ngDialogData.receipt.driverTel"></td>
                    </tr>
                    <tr>
                        <td class="black_td">经销商名称</td>
                        <td ng-bind="ngDialogData.receipt.dealeName"></td>
                        <td class="black_td">收车单位</td>
                        <td ng-bind="ngDialogData.receipt.collectUnit"></td>
                        <td class="black_td">承运单位</td>
                        <td colspan="3" ng-bind="ngDialogData.receipt.logiName"></td>
                    </tr>
                </tbody>
            </table>
        </div>

        <div class="receipt_top_table">
            <table class="layui-table print_table_min" >
                <tr>
                    <th>合格证(本)</th>
                    <th>VIN码拓印号(份)</th>
                    <th>环保证书(份)</th>
                    <th>钥匙(把)</th>
                    <!--<th>灭火器(瓶)</th>-->
                    <th>三角牌(套)</th>
                    <th>反光背心(件)</th>
                </tr>
                <tr>
                    <td ng-bind="ngDialogData.receipt.standardNum"></td>
                    <td ng-bind="ngDialogData.receipt.allNum"></td>
                    <td ng-bind="ngDialogData.receipt.allNum"></td>
                    <td ng-bind="ngDialogData.receipt.allNum * 2"></td>
                    <!--<td ng-bind="ngDialogData.receipt.allNum"></td>-->
                    <td ng-bind="ngDialogData.receipt.allNum"></td>
                    <td ng-bind="ngDialogData.receipt.allNum"></td>
                </tr>
                <tr>
                    <!--<th>燃料消耗量标识(份)</th>-->
                    <th>一致性证书(份)</th>
                    <th>照片(份)</th>
                    <th>使用手册(份)</th>
                    <th colspan="2">维修手册(份)</th>
                    <th>随车工具及备胎(件)</th>
                </tr>
                <tr>
                    <td ng-bind="ngDialogData.receipt.allNum"></td>
                    <td ng-bind="ngDialogData.receipt.allNum * 2"></td>
                    <td ng-bind="ngDialogData.receipt.allNum"></td>
                    <td colspan="2" ng-bind="ngDialogData.receipt.allNum"></td>
                    <td ng-bind="ngDialogData.receipt.allNum"></td>
                </tr>
            </table>
        </div>
    </div>

    <div class="print_outbound_receipt_body">
        <table class="layui-table">
            <tr>
                <th>序号</th>
                <th>车系</th>
                <th>车架号</th>
                <th>发动机号</th>
                <th>物料编码</th>
                <th>物料描述</th>
                <!--<th>颜色</th>-->
            </tr>
            <tr ng-repeat="detail in ngDialogData.receipt.detailList">
                <td ng-bind="$index + 1"></td>
                <td ng-bind="detail.brand"></td>
                <td ng-bind="detail.vin"></td>
                <td ng-bind="detail.engineNo"></td>
                <td ng-bind="detail.styleCode" ></td>
                <td ng-bind="detail.styleDesc" class="tr_td"></td>
                <!--<td ng-bind="detail.color"></td>-->
            </tr>
        </table>
    </div>

    <div class="print_outbound_receipt_down" style="height: 190px;">
        <div style="width: 100%;height: 30%; border-bottom: 1px solid black">
            <div style="width:33%;height: 100%;float: left">
                仓储方（盖章）:<br/>
                <br/>
                经办人
            </div>
            <div style="width:33%;height: 100%;float: left;border-left:1px solid black">
                承运方（盖章）:<br/>
                <br/>
                经办人（签字）:
            </div>
            <div style="width:33%;height: 100%;float: left;border-left:1px solid black">
                托运方（盖章）:<br/>
                <br/>
                经办部门: 君马汽车计划物流部
            </div>
        </div>
        <div style="width: 100%;height: 10%;border-bottom: 1px solid black">
            <div style="float: left;width:100px">&nbsp;&nbsp;此批车于</div>
            <div style="float: left;width: 80px">年</div>
            <div style="float: left;width: 90px">月</div>
            <div style="float: left;width: 100px">日出发,限</div>
            <div style="float: left;width: 120px">年</div>
            <div style="float: left;width: 100px">月</div>
            <div style="float: left;width: 100px">日内到达</div>
        </div>
        <div style="width: 100%;height: 59%">
            <div style="width:60%;height: 100%;float: left;">
                经销商验收情况（如有运输质损,请详细描述,可附件）
            </div>
            <div style="width:20%;height: 100%;float: left;">
                <br/>
                <br/>
                <br/>
                验收人（签字）:
                <br/>
                <br/>
                收车单位（盖章）:
            </div>
            <div style="width:17%;height: 100%;float: left;">
                <br/>
                <br/>
                <br/>
                承运司机（签字）:
                <br/>
                <br/>
                验收时间: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 月&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 日
            </div>
        </div>
    </div>

    <!--<div class="print_outbound_receipt_down">
        <div class="print_outbound_receipt_down_top">
            经销商验收情况（如有运输质损，请详细描述）
        </div>
        <div class="print_outbound_receipt_down_left">
            <div>托运方（盖章）：</div>
            <div>经办人（签字）：</div>
            <div>经办日期：</div>
            <div>
                <div>到达时间：</div>
                <div>承运司机（签字）：</div>
            </div>
        </div>
        <div class="print_outbound_receipt_down_right">
            <div>承运方（盖章）：</div>
            <div>经办人（签字）：</div>
            <div>承运日期：</div>
            <div>
                <div style="width: 33%">验收人（签字）：</div>
                <div style="width: 33%;border-right: 1px solid black">验收时间：</div>
                <div style="width: 33%">收货单位（盖章）：</div>
            </div>
        </div>
    </div>-->
    <div class="print_outbound_receipt_footer">
        <div>保存期三年，共6联：第一联白:计划物流部;第二联红:财务;第三联蓝:承运司机;<br/>第四联绿:物流公司;第五联黄:经销商;第六联白:仓储公司</div>
        <div>打印时间：{{ngDialogData.date | date:'yyyy-MM-dd'}}</div>
        <div>制单人：</div>
    </div>
</div>

<div class="dialog-toolbar">
    <button class="layui-btn" ng-click="printReceiptClick()">打印</button>
    <button class="layui-btn" ng-click="closeThisDialog()">取消</button>
</div>
